package com.dz.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author 宁少永
 * @version 1.0
 * @adate 2023/7/10  -  16:52
 */
@Configuration
public class AppCtxConfig {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
